package FirstWeek;

import Basic.IO;

import java.util.Scanner;

public class First{
    public static void res(){
        int year = IO.inputInt("请输入出生年份：");

        int max = year + 100;

        int result = 0;
        //max = 100

        for(;year<max;year++){
            if(year % 4 == 0){
                if(year % 100 == 0){
                    if(year % 400 == 0){
                        result++;
                    }
                }else{
                    result++;
                }
            }
        }

        System.out.println(result);
    }
}
